shr: Correct SVG attribute case
authorSacha Chua <sacha@sachachua.com>
Fri, 26 Jan 2024 13:54:03 +0000 (08:54 -0500)
committerEli Zaretskii <eliz@gnu.org>
Thu, 1 Feb 2024 10:00:25 +0000 (12:00 +0200)
commit169c704d74747d411a545eff9c497ddafb9c886c
tree3b59384850e95c8a47adbcb20090365ab31aa144
parent849f8c1d49edc93cd8133d2f0dee5ceeb8f659e5
shr: Correct SVG attribute case

* lisp/net/shr.el (shr-correct-attribute-case): New constant.
(shr-correct-dom-case): New function to correct SVG attribute case.
(shr-tag-svg): Correct SVG attribute cases before using them.
lisp/net/shr.el